package com.click369.mianshiqingbao.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;
/**
 * 题目信息的查询条件封装类
 */
public class TopicBeanExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TopicBeanExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andTopicIdIsNull() {
            addCriterion("topic_id is null");
            return (Criteria) this;
        }

        public Criteria andTopicIdIsNotNull() {
            addCriterion("topic_id is not null");
            return (Criteria) this;
        }

        public Criteria andTopicIdEqualTo(Long value) {
            addCriterion("topic_id =", value, "topicId");
            return (Criteria) this;
        }

        public Criteria andTopicIdNotEqualTo(Long value) {
            addCriterion("topic_id <>", value, "topicId");
            return (Criteria) this;
        }

        public Criteria andTopicIdGreaterThan(Long value) {
            addCriterion("topic_id >", value, "topicId");
            return (Criteria) this;
        }

        public Criteria andTopicIdGreaterThanOrEqualTo(Long value) {
            addCriterion("topic_id >=", value, "topicId");
            return (Criteria) this;
        }

        public Criteria andTopicIdLessThan(Long value) {
            addCriterion("topic_id <", value, "topicId");
            return (Criteria) this;
        }

        public Criteria andTopicIdLessThanOrEqualTo(Long value) {
            addCriterion("topic_id <=", value, "topicId");
            return (Criteria) this;
        }

        public Criteria andTopicIdIn(List<Long> values) {
            addCriterion("topic_id in", values, "topicId");
            return (Criteria) this;
        }

        public Criteria andTopicIdNotIn(List<Long> values) {
            addCriterion("topic_id not in", values, "topicId");
            return (Criteria) this;
        }

        public Criteria andTopicIdBetween(Long value1, Long value2) {
            addCriterion("topic_id between", value1, value2, "topicId");
            return (Criteria) this;
        }

        public Criteria andTopicIdNotBetween(Long value1, Long value2) {
            addCriterion("topic_id not between", value1, value2, "topicId");
            return (Criteria) this;
        }

        public Criteria andTopicTypeIsNull() {
            addCriterion("topic_type is null");
            return (Criteria) this;
        }

        public Criteria andTopicTypeIsNotNull() {
            addCriterion("topic_type is not null");
            return (Criteria) this;
        }

        public Criteria andTopicTypeEqualTo(String value) {
            addCriterion("topic_type =", value, "topicType");
            return (Criteria) this;
        }

        public Criteria andTopicTypeNotEqualTo(String value) {
            addCriterion("topic_type <>", value, "topicType");
            return (Criteria) this;
        }

        public Criteria andTopicTypeGreaterThan(String value) {
            addCriterion("topic_type >", value, "topicType");
            return (Criteria) this;
        }

        public Criteria andTopicTypeGreaterThanOrEqualTo(String value) {
            addCriterion("topic_type >=", value, "topicType");
            return (Criteria) this;
        }

        public Criteria andTopicTypeLessThan(String value) {
            addCriterion("topic_type <", value, "topicType");
            return (Criteria) this;
        }

        public Criteria andTopicTypeLessThanOrEqualTo(String value) {
            addCriterion("topic_type <=", value, "topicType");
            return (Criteria) this;
        }

        public Criteria andTopicTypeLike(String value) {
            addCriterion("topic_type like", value, "topicType");
            return (Criteria) this;
        }

        public Criteria andTopicTypeNotLike(String value) {
            addCriterion("topic_type not like", value, "topicType");
            return (Criteria) this;
        }

        public Criteria andTopicTypeIn(List<String> values) {
            addCriterion("topic_type in", values, "topicType");
            return (Criteria) this;
        }

        public Criteria andTopicTypeNotIn(List<String> values) {
            addCriterion("topic_type not in", values, "topicType");
            return (Criteria) this;
        }

        public Criteria andTopicTypeBetween(String value1, String value2) {
            addCriterion("topic_type between", value1, value2, "topicType");
            return (Criteria) this;
        }

        public Criteria andTopicTypeNotBetween(String value1, String value2) {
            addCriterion("topic_type not between", value1, value2, "topicType");
            return (Criteria) this;
        }

        public Criteria andTopicContentIsNull() {
            addCriterion("topic_content is null");
            return (Criteria) this;
        }

        public Criteria andTopicContentIsNotNull() {
            addCriterion("topic_content is not null");
            return (Criteria) this;
        }

        public Criteria andTopicContentEqualTo(String value) {
            addCriterion("topic_content =", value, "topicContent");
            return (Criteria) this;
        }

        public Criteria andTopicContentNotEqualTo(String value) {
            addCriterion("topic_content <>", value, "topicContent");
            return (Criteria) this;
        }

        public Criteria andTopicContentGreaterThan(String value) {
            addCriterion("topic_content >", value, "topicContent");
            return (Criteria) this;
        }

        public Criteria andTopicContentGreaterThanOrEqualTo(String value) {
            addCriterion("topic_content >=", value, "topicContent");
            return (Criteria) this;
        }

        public Criteria andTopicContentLessThan(String value) {
            addCriterion("topic_content <", value, "topicContent");
            return (Criteria) this;
        }

        public Criteria andTopicContentLessThanOrEqualTo(String value) {
            addCriterion("topic_content <=", value, "topicContent");
            return (Criteria) this;
        }

        public Criteria andTopicContentLike(String value) {
            addCriterion("topic_content like", value, "topicContent");
            return (Criteria) this;
        }

        public Criteria andTopicContentNotLike(String value) {
            addCriterion("topic_content not like", value, "topicContent");
            return (Criteria) this;
        }

        public Criteria andTopicContentIn(List<String> values) {
            addCriterion("topic_content in", values, "topicContent");
            return (Criteria) this;
        }

        public Criteria andTopicContentNotIn(List<String> values) {
            addCriterion("topic_content not in", values, "topicContent");
            return (Criteria) this;
        }

        public Criteria andTopicContentBetween(String value1, String value2) {
            addCriterion("topic_content between", value1, value2, "topicContent");
            return (Criteria) this;
        }

        public Criteria andTopicContentNotBetween(String value1, String value2) {
            addCriterion("topic_content not between", value1, value2, "topicContent");
            return (Criteria) this;
        }

        public Criteria andTopicCreateTimeIsNull() {
            addCriterion("topic_create_time is null");
            return (Criteria) this;
        }

        public Criteria andTopicCreateTimeIsNotNull() {
            addCriterion("topic_create_time is not null");
            return (Criteria) this;
        }

        public Criteria andTopicCreateTimeEqualTo(Date value) {
            addCriterion("topic_create_time =", value, "topicCreateTime");
            return (Criteria) this;
        }

        public Criteria andTopicCreateTimeNotEqualTo(Date value) {
            addCriterion("topic_create_time <>", value, "topicCreateTime");
            return (Criteria) this;
        }

        public Criteria andTopicCreateTimeGreaterThan(Date value) {
            addCriterion("topic_create_time >", value, "topicCreateTime");
            return (Criteria) this;
        }

        public Criteria andTopicCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("topic_create_time >=", value, "topicCreateTime");
            return (Criteria) this;
        }

        public Criteria andTopicCreateTimeLessThan(Date value) {
            addCriterion("topic_create_time <", value, "topicCreateTime");
            return (Criteria) this;
        }

        public Criteria andTopicCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("topic_create_time <=", value, "topicCreateTime");
            return (Criteria) this;
        }

        public Criteria andTopicCreateTimeIn(List<Date> values) {
            addCriterion("topic_create_time in", values, "topicCreateTime");
            return (Criteria) this;
        }

        public Criteria andTopicCreateTimeNotIn(List<Date> values) {
            addCriterion("topic_create_time not in", values, "topicCreateTime");
            return (Criteria) this;
        }

        public Criteria andTopicCreateTimeBetween(Date value1, Date value2) {
            addCriterion("topic_create_time between", value1, value2, "topicCreateTime");
            return (Criteria) this;
        }

        public Criteria andTopicCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("topic_create_time not between", value1, value2, "topicCreateTime");
            return (Criteria) this;
        }

        public Criteria andTopicFreqIsNull() {
            addCriterion("topic_freq is null");
            return (Criteria) this;
        }

        public Criteria andTopicFreqIsNotNull() {
            addCriterion("topic_freq is not null");
            return (Criteria) this;
        }

        public Criteria andTopicFreqEqualTo(Integer value) {
            addCriterion("topic_freq =", value, "topicFreq");
            return (Criteria) this;
        }

        public Criteria andTopicFreqNotEqualTo(Integer value) {
            addCriterion("topic_freq <>", value, "topicFreq");
            return (Criteria) this;
        }

        public Criteria andTopicFreqGreaterThan(Integer value) {
            addCriterion("topic_freq >", value, "topicFreq");
            return (Criteria) this;
        }

        public Criteria andTopicFreqGreaterThanOrEqualTo(Integer value) {
            addCriterion("topic_freq >=", value, "topicFreq");
            return (Criteria) this;
        }

        public Criteria andTopicFreqLessThan(Integer value) {
            addCriterion("topic_freq <", value, "topicFreq");
            return (Criteria) this;
        }

        public Criteria andTopicFreqLessThanOrEqualTo(Integer value) {
            addCriterion("topic_freq <=", value, "topicFreq");
            return (Criteria) this;
        }

        public Criteria andTopicFreqIn(List<Integer> values) {
            addCriterion("topic_freq in", values, "topicFreq");
            return (Criteria) this;
        }

        public Criteria andTopicFreqNotIn(List<Integer> values) {
            addCriterion("topic_freq not in", values, "topicFreq");
            return (Criteria) this;
        }

        public Criteria andTopicFreqBetween(Integer value1, Integer value2) {
            addCriterion("topic_freq between", value1, value2, "topicFreq");
            return (Criteria) this;
        }

        public Criteria andTopicFreqNotBetween(Integer value1, Integer value2) {
            addCriterion("topic_freq not between", value1, value2, "topicFreq");
            return (Criteria) this;
        }

        public Criteria andAdminRoleidIsNull() {
            addCriterion("admin_roleid is null");
            return (Criteria) this;
        }

        public Criteria andAdminRoleidIsNotNull() {
            addCriterion("admin_roleid is not null");
            return (Criteria) this;
        }

        public Criteria andAdminRoleidEqualTo(Integer value) {
            addCriterion("admin_roleid =", value, "adminRoleid");
            return (Criteria) this;
        }

        public Criteria andAdminRoleidNotEqualTo(Integer value) {
            addCriterion("admin_roleid <>", value, "adminRoleid");
            return (Criteria) this;
        }

        public Criteria andAdminRoleidGreaterThan(Integer value) {
            addCriterion("admin_roleid >", value, "adminRoleid");
            return (Criteria) this;
        }

        public Criteria andAdminRoleidGreaterThanOrEqualTo(Integer value) {
            addCriterion("admin_roleid >=", value, "adminRoleid");
            return (Criteria) this;
        }

        public Criteria andAdminRoleidLessThan(Integer value) {
            addCriterion("admin_roleid <", value, "adminRoleid");
            return (Criteria) this;
        }

        public Criteria andAdminRoleidLessThanOrEqualTo(Integer value) {
            addCriterion("admin_roleid <=", value, "adminRoleid");
            return (Criteria) this;
        }

        public Criteria andAdminRoleidIn(List<Integer> values) {
            addCriterion("admin_roleid in", values, "adminRoleid");
            return (Criteria) this;
        }

        public Criteria andAdminRoleidNotIn(List<Integer> values) {
            addCriterion("admin_roleid not in", values, "adminRoleid");
            return (Criteria) this;
        }

        public Criteria andAdminRoleidBetween(Integer value1, Integer value2) {
            addCriterion("admin_roleid between", value1, value2, "adminRoleid");
            return (Criteria) this;
        }

        public Criteria andAdminRoleidNotBetween(Integer value1, Integer value2) {
            addCriterion("admin_roleid not between", value1, value2, "adminRoleid");
            return (Criteria) this;
        }

        public Criteria andTopicClassifyOneIsNull() {
            addCriterion("topic_classify_one is null");
            return (Criteria) this;
        }

        public Criteria andTopicClassifyOneIsNotNull() {
            addCriterion("topic_classify_one is not null");
            return (Criteria) this;
        }

        public Criteria andTopicClassifyOneEqualTo(Integer value) {
            addCriterion("topic_classify_one =", value, "topicClassifyOne");
            return (Criteria) this;
        }

        public Criteria andTopicClassifyOneNotEqualTo(Integer value) {
            addCriterion("topic_classify_one <>", value, "topicClassifyOne");
            return (Criteria) this;
        }

        public Criteria andTopicClassifyOneGreaterThan(Integer value) {
            addCriterion("topic_classify_one >", value, "topicClassifyOne");
            return (Criteria) this;
        }

        public Criteria andTopicClassifyOneGreaterThanOrEqualTo(Integer value) {
            addCriterion("topic_classify_one >=", value, "topicClassifyOne");
            return (Criteria) this;
        }

        public Criteria andTopicClassifyOneLessThan(Integer value) {
            addCriterion("topic_classify_one <", value, "topicClassifyOne");
            return (Criteria) this;
        }

        public Criteria andTopicClassifyOneLessThanOrEqualTo(Integer value) {
            addCriterion("topic_classify_one <=", value, "topicClassifyOne");
            return (Criteria) this;
        }

        public Criteria andTopicClassifyOneIn(List<Integer> values) {
            addCriterion("topic_classify_one in", values, "topicClassifyOne");
            return (Criteria) this;
        }

        public Criteria andTopicClassifyOneNotIn(List<Integer> values) {
            addCriterion("topic_classify_one not in", values, "topicClassifyOne");
            return (Criteria) this;
        }

        public Criteria andTopicClassifyOneBetween(Integer value1, Integer value2) {
            addCriterion("topic_classify_one between", value1, value2, "topicClassifyOne");
            return (Criteria) this;
        }

        public Criteria andTopicClassifyOneNotBetween(Integer value1, Integer value2) {
            addCriterion("topic_classify_one not between", value1, value2, "topicClassifyOne");
            return (Criteria) this;
        }

        public Criteria andTopicClassifyTwoIsNull() {
            addCriterion("topic_classify_two is null");
            return (Criteria) this;
        }

        public Criteria andTopicClassifyTwoIsNotNull() {
            addCriterion("topic_classify_two is not null");
            return (Criteria) this;
        }

        public Criteria andTopicClassifyTwoEqualTo(Integer value) {
            addCriterion("topic_classify_two =", value, "topicClassifyTwo");
            return (Criteria) this;
        }

        public Criteria andTopicClassifyTwoNotEqualTo(Integer value) {
            addCriterion("topic_classify_two <>", value, "topicClassifyTwo");
            return (Criteria) this;
        }

        public Criteria andTopicClassifyTwoGreaterThan(Integer value) {
            addCriterion("topic_classify_two >", value, "topicClassifyTwo");
            return (Criteria) this;
        }

        public Criteria andTopicClassifyTwoGreaterThanOrEqualTo(Integer value) {
            addCriterion("topic_classify_two >=", value, "topicClassifyTwo");
            return (Criteria) this;
        }

        public Criteria andTopicClassifyTwoLessThan(Integer value) {
            addCriterion("topic_classify_two <", value, "topicClassifyTwo");
            return (Criteria) this;
        }

        public Criteria andTopicClassifyTwoLessThanOrEqualTo(Integer value) {
            addCriterion("topic_classify_two <=", value, "topicClassifyTwo");
            return (Criteria) this;
        }

        public Criteria andTopicClassifyTwoIn(List<Integer> values) {
            addCriterion("topic_classify_two in", values, "topicClassifyTwo");
            return (Criteria) this;
        }

        public Criteria andTopicClassifyTwoNotIn(List<Integer> values) {
            addCriterion("topic_classify_two not in", values, "topicClassifyTwo");
            return (Criteria) this;
        }

        public Criteria andTopicClassifyTwoBetween(Integer value1, Integer value2) {
            addCriterion("topic_classify_two between", value1, value2, "topicClassifyTwo");
            return (Criteria) this;
        }

        public Criteria andTopicClassifyTwoNotBetween(Integer value1, Integer value2) {
            addCriterion("topic_classify_two not between", value1, value2, "topicClassifyTwo");
            return (Criteria) this;
        }

        public Criteria andTopicClassifyThreeIsNull() {
            addCriterion("topic_classify_three is null");
            return (Criteria) this;
        }

        public Criteria andTopicClassifyThreeIsNotNull() {
            addCriterion("topic_classify_three is not null");
            return (Criteria) this;
        }

        public Criteria andTopicClassifyThreeEqualTo(Integer value) {
            addCriterion("topic_classify_three =", value, "topicClassifyThree");
            return (Criteria) this;
        }

        public Criteria andTopicClassifyThreeNotEqualTo(Integer value) {
            addCriterion("topic_classify_three <>", value, "topicClassifyThree");
            return (Criteria) this;
        }

        public Criteria andTopicClassifyThreeGreaterThan(Integer value) {
            addCriterion("topic_classify_three >", value, "topicClassifyThree");
            return (Criteria) this;
        }

        public Criteria andTopicClassifyThreeGreaterThanOrEqualTo(Integer value) {
            addCriterion("topic_classify_three >=", value, "topicClassifyThree");
            return (Criteria) this;
        }

        public Criteria andTopicClassifyThreeLessThan(Integer value) {
            addCriterion("topic_classify_three <", value, "topicClassifyThree");
            return (Criteria) this;
        }

        public Criteria andTopicClassifyThreeLessThanOrEqualTo(Integer value) {
            addCriterion("topic_classify_three <=", value, "topicClassifyThree");
            return (Criteria) this;
        }

        public Criteria andTopicClassifyThreeIn(List<Integer> values) {
            addCriterion("topic_classify_three in", values, "topicClassifyThree");
            return (Criteria) this;
        }

        public Criteria andTopicClassifyThreeNotIn(List<Integer> values) {
            addCriterion("topic_classify_three not in", values, "topicClassifyThree");
            return (Criteria) this;
        }

        public Criteria andTopicClassifyThreeBetween(Integer value1, Integer value2) {
            addCriterion("topic_classify_three between", value1, value2, "topicClassifyThree");
            return (Criteria) this;
        }

        public Criteria andTopicClassifyThreeNotBetween(Integer value1, Integer value2) {
            addCriterion("topic_classify_three not between", value1, value2, "topicClassifyThree");
            return (Criteria) this;
        }

        public Criteria andTopicOptionIsNull() {
            addCriterion("topic_option is null");
            return (Criteria) this;
        }

        public Criteria andTopicOptionIsNotNull() {
            addCriterion("topic_option is not null");
            return (Criteria) this;
        }

        public Criteria andTopicOptionEqualTo(String value) {
            addCriterion("topic_option =", value, "topicOption");
            return (Criteria) this;
        }

        public Criteria andTopicOptionNotEqualTo(String value) {
            addCriterion("topic_option <>", value, "topicOption");
            return (Criteria) this;
        }

        public Criteria andTopicOptionGreaterThan(String value) {
            addCriterion("topic_option >", value, "topicOption");
            return (Criteria) this;
        }

        public Criteria andTopicOptionGreaterThanOrEqualTo(String value) {
            addCriterion("topic_option >=", value, "topicOption");
            return (Criteria) this;
        }

        public Criteria andTopicOptionLessThan(String value) {
            addCriterion("topic_option <", value, "topicOption");
            return (Criteria) this;
        }

        public Criteria andTopicOptionLessThanOrEqualTo(String value) {
            addCriterion("topic_option <=", value, "topicOption");
            return (Criteria) this;
        }

        public Criteria andTopicOptionLike(String value) {
            addCriterion("topic_option like", value, "topicOption");
            return (Criteria) this;
        }

        public Criteria andTopicOptionNotLike(String value) {
            addCriterion("topic_option not like", value, "topicOption");
            return (Criteria) this;
        }

        public Criteria andTopicOptionIn(List<String> values) {
            addCriterion("topic_option in", values, "topicOption");
            return (Criteria) this;
        }

        public Criteria andTopicOptionNotIn(List<String> values) {
            addCriterion("topic_option not in", values, "topicOption");
            return (Criteria) this;
        }

        public Criteria andTopicOptionBetween(String value1, String value2) {
            addCriterion("topic_option between", value1, value2, "topicOption");
            return (Criteria) this;
        }

        public Criteria andTopicOptionNotBetween(String value1, String value2) {
            addCriterion("topic_option not between", value1, value2, "topicOption");
            return (Criteria) this;
        }

        public Criteria andTopicIsExamIsNull() {
            addCriterion("topic_is_exam is null");
            return (Criteria) this;
        }

        public Criteria andTopicIsExamIsNotNull() {
            addCriterion("topic_is_exam is not null");
            return (Criteria) this;
        }

        public Criteria andTopicIsExamEqualTo(Boolean value) {
            addCriterion("topic_is_exam =", value, "topicIsExam");
            return (Criteria) this;
        }

        public Criteria andTopicIsExamNotEqualTo(Boolean value) {
            addCriterion("topic_is_exam <>", value, "topicIsExam");
            return (Criteria) this;
        }

        public Criteria andTopicIsExamGreaterThan(Boolean value) {
            addCriterion("topic_is_exam >", value, "topicIsExam");
            return (Criteria) this;
        }

        public Criteria andTopicIsExamGreaterThanOrEqualTo(Boolean value) {
            addCriterion("topic_is_exam >=", value, "topicIsExam");
            return (Criteria) this;
        }

        public Criteria andTopicIsExamLessThan(Boolean value) {
            addCriterion("topic_is_exam <", value, "topicIsExam");
            return (Criteria) this;
        }

        public Criteria andTopicIsExamLessThanOrEqualTo(Boolean value) {
            addCriterion("topic_is_exam <=", value, "topicIsExam");
            return (Criteria) this;
        }

        public Criteria andTopicIsExamIn(List<Boolean> values) {
            addCriterion("topic_is_exam in", values, "topicIsExam");
            return (Criteria) this;
        }

        public Criteria andTopicIsExamNotIn(List<Boolean> values) {
            addCriterion("topic_is_exam not in", values, "topicIsExam");
            return (Criteria) this;
        }

        public Criteria andTopicIsExamBetween(Boolean value1, Boolean value2) {
            addCriterion("topic_is_exam between", value1, value2, "topicIsExam");
            return (Criteria) this;
        }

        public Criteria andTopicIsExamNotBetween(Boolean value1, Boolean value2) {
            addCriterion("topic_is_exam not between", value1, value2, "topicIsExam");
            return (Criteria) this;
        }

        public Criteria andTopicCompanyIsNull() {
            addCriterion("topic_company is null");
            return (Criteria) this;
        }

        public Criteria andTopicCompanyIsNotNull() {
            addCriterion("topic_company is not null");
            return (Criteria) this;
        }

        public Criteria andTopicCompanyEqualTo(String value) {
            addCriterion("topic_company =", value, "topicCompany");
            return (Criteria) this;
        }

        public Criteria andTopicCompanyNotEqualTo(String value) {
            addCriterion("topic_company <>", value, "topicCompany");
            return (Criteria) this;
        }

        public Criteria andTopicCompanyGreaterThan(String value) {
            addCriterion("topic_company >", value, "topicCompany");
            return (Criteria) this;
        }

        public Criteria andTopicCompanyGreaterThanOrEqualTo(String value) {
            addCriterion("topic_company >=", value, "topicCompany");
            return (Criteria) this;
        }

        public Criteria andTopicCompanyLessThan(String value) {
            addCriterion("topic_company <", value, "topicCompany");
            return (Criteria) this;
        }

        public Criteria andTopicCompanyLessThanOrEqualTo(String value) {
            addCriterion("topic_company <=", value, "topicCompany");
            return (Criteria) this;
        }

        public Criteria andTopicCompanyLike(String value) {
            addCriterion("topic_company like", value, "topicCompany");
            return (Criteria) this;
        }

        public Criteria andTopicCompanyNotLike(String value) {
            addCriterion("topic_company not like", value, "topicCompany");
            return (Criteria) this;
        }

        public Criteria andTopicCompanyIn(List<String> values) {
            addCriterion("topic_company in", values, "topicCompany");
            return (Criteria) this;
        }

        public Criteria andTopicCompanyNotIn(List<String> values) {
            addCriterion("topic_company not in", values, "topicCompany");
            return (Criteria) this;
        }

        public Criteria andTopicCompanyBetween(String value1, String value2) {
            addCriterion("topic_company between", value1, value2, "topicCompany");
            return (Criteria) this;
        }

        public Criteria andTopicCompanyNotBetween(String value1, String value2) {
            addCriterion("topic_company not between", value1, value2, "topicCompany");
            return (Criteria) this;
        }

        public Criteria andTopicExamNumIsNull() {
            addCriterion("topic_exam_num is null");
            return (Criteria) this;
        }

        public Criteria andTopicExamNumIsNotNull() {
            addCriterion("topic_exam_num is not null");
            return (Criteria) this;
        }

        public Criteria andTopicExamNumEqualTo(Integer value) {
            addCriterion("topic_exam_num =", value, "topicExamNum");
            return (Criteria) this;
        }

        public Criteria andTopicExamNumNotEqualTo(Integer value) {
            addCriterion("topic_exam_num <>", value, "topicExamNum");
            return (Criteria) this;
        }

        public Criteria andTopicExamNumGreaterThan(Integer value) {
            addCriterion("topic_exam_num >", value, "topicExamNum");
            return (Criteria) this;
        }

        public Criteria andTopicExamNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("topic_exam_num >=", value, "topicExamNum");
            return (Criteria) this;
        }

        public Criteria andTopicExamNumLessThan(Integer value) {
            addCriterion("topic_exam_num <", value, "topicExamNum");
            return (Criteria) this;
        }

        public Criteria andTopicExamNumLessThanOrEqualTo(Integer value) {
            addCriterion("topic_exam_num <=", value, "topicExamNum");
            return (Criteria) this;
        }

        public Criteria andTopicExamNumIn(List<Integer> values) {
            addCriterion("topic_exam_num in", values, "topicExamNum");
            return (Criteria) this;
        }

        public Criteria andTopicExamNumNotIn(List<Integer> values) {
            addCriterion("topic_exam_num not in", values, "topicExamNum");
            return (Criteria) this;
        }

        public Criteria andTopicExamNumBetween(Integer value1, Integer value2) {
            addCriterion("topic_exam_num between", value1, value2, "topicExamNum");
            return (Criteria) this;
        }

        public Criteria andTopicExamNumNotBetween(Integer value1, Integer value2) {
            addCriterion("topic_exam_num not between", value1, value2, "topicExamNum");
            return (Criteria) this;
        }

        public Criteria andTopicExamKeyIsNull() {
            addCriterion("topic_exam_key is null");
            return (Criteria) this;
        }

        public Criteria andTopicExamKeyIsNotNull() {
            addCriterion("topic_exam_key is not null");
            return (Criteria) this;
        }

        public Criteria andTopicExamKeyEqualTo(Integer value) {
            addCriterion("topic_exam_key =", value, "topicExamKey");
            return (Criteria) this;
        }

        public Criteria andTopicExamKeyNotEqualTo(Integer value) {
            addCriterion("topic_exam_key <>", value, "topicExamKey");
            return (Criteria) this;
        }

        public Criteria andTopicExamKeyGreaterThan(Integer value) {
            addCriterion("topic_exam_key >", value, "topicExamKey");
            return (Criteria) this;
        }

        public Criteria andTopicExamKeyGreaterThanOrEqualTo(Integer value) {
            addCriterion("topic_exam_key >=", value, "topicExamKey");
            return (Criteria) this;
        }

        public Criteria andTopicExamKeyLessThan(Integer value) {
            addCriterion("topic_exam_key <", value, "topicExamKey");
            return (Criteria) this;
        }

        public Criteria andTopicExamKeyLessThanOrEqualTo(Integer value) {
            addCriterion("topic_exam_key <=", value, "topicExamKey");
            return (Criteria) this;
        }

        public Criteria andTopicExamKeyIn(List<Integer> values) {
            addCriterion("topic_exam_key in", values, "topicExamKey");
            return (Criteria) this;
        }

        public Criteria andTopicExamKeyNotIn(List<Integer> values) {
            addCriterion("topic_exam_key not in", values, "topicExamKey");
            return (Criteria) this;
        }

        public Criteria andTopicExamKeyBetween(Integer value1, Integer value2) {
            addCriterion("topic_exam_key between", value1, value2, "topicExamKey");
            return (Criteria) this;
        }

        public Criteria andTopicExamKeyNotBetween(Integer value1, Integer value2) {
            addCriterion("topic_exam_key not between", value1, value2, "topicExamKey");
            return (Criteria) this;
        }

        public Criteria andTopicCheckedStatusIsNull() {
            addCriterion("topic_checked_status is null");
            return (Criteria) this;
        }

        public Criteria andTopicCheckedStatusIsNotNull() {
            addCriterion("topic_checked_status is not null");
            return (Criteria) this;
        }

        public Criteria andTopicCheckedStatusEqualTo(String value) {
            addCriterion("topic_checked_status =", value, "topicCheckedStatus");
            return (Criteria) this;
        }

        public Criteria andTopicCheckedStatusNotEqualTo(String value) {
            addCriterion("topic_checked_status <>", value, "topicCheckedStatus");
            return (Criteria) this;
        }

        public Criteria andTopicCheckedStatusGreaterThan(String value) {
            addCriterion("topic_checked_status >", value, "topicCheckedStatus");
            return (Criteria) this;
        }

        public Criteria andTopicCheckedStatusGreaterThanOrEqualTo(String value) {
            addCriterion("topic_checked_status >=", value, "topicCheckedStatus");
            return (Criteria) this;
        }

        public Criteria andTopicCheckedStatusLessThan(String value) {
            addCriterion("topic_checked_status <", value, "topicCheckedStatus");
            return (Criteria) this;
        }

        public Criteria andTopicCheckedStatusLessThanOrEqualTo(String value) {
            addCriterion("topic_checked_status <=", value, "topicCheckedStatus");
            return (Criteria) this;
        }

        public Criteria andTopicCheckedStatusLike(String value) {
            addCriterion("topic_checked_status like", value, "topicCheckedStatus");
            return (Criteria) this;
        }

        public Criteria andTopicCheckedStatusNotLike(String value) {
            addCriterion("topic_checked_status not like", value, "topicCheckedStatus");
            return (Criteria) this;
        }

        public Criteria andTopicCheckedStatusIn(List<String> values) {
            addCriterion("topic_checked_status in", values, "topicCheckedStatus");
            return (Criteria) this;
        }

        public Criteria andTopicCheckedStatusNotIn(List<String> values) {
            addCriterion("topic_checked_status not in", values, "topicCheckedStatus");
            return (Criteria) this;
        }

        public Criteria andTopicCheckedStatusBetween(String value1, String value2) {
            addCriterion("topic_checked_status between", value1, value2, "topicCheckedStatus");
            return (Criteria) this;
        }

        public Criteria andTopicCheckedStatusNotBetween(String value1, String value2) {
            addCriterion("topic_checked_status not between", value1, value2, "topicCheckedStatus");
            return (Criteria) this;
        }

        public Criteria andAdminCheckeridIsNull() {
            addCriterion("admin_checkerid is null");
            return (Criteria) this;
        }

        public Criteria andAdminCheckeridIsNotNull() {
            addCriterion("admin_checkerid is not null");
            return (Criteria) this;
        }

        public Criteria andAdminCheckeridEqualTo(Integer value) {
            addCriterion("admin_checkerid =", value, "adminCheckerid");
            return (Criteria) this;
        }

        public Criteria andAdminCheckeridNotEqualTo(Integer value) {
            addCriterion("admin_checkerid <>", value, "adminCheckerid");
            return (Criteria) this;
        }

        public Criteria andAdminCheckeridGreaterThan(Integer value) {
            addCriterion("admin_checkerid >", value, "adminCheckerid");
            return (Criteria) this;
        }

        public Criteria andAdminCheckeridGreaterThanOrEqualTo(Integer value) {
            addCriterion("admin_checkerid >=", value, "adminCheckerid");
            return (Criteria) this;
        }

        public Criteria andAdminCheckeridLessThan(Integer value) {
            addCriterion("admin_checkerid <", value, "adminCheckerid");
            return (Criteria) this;
        }

        public Criteria andAdminCheckeridLessThanOrEqualTo(Integer value) {
            addCriterion("admin_checkerid <=", value, "adminCheckerid");
            return (Criteria) this;
        }

        public Criteria andAdminCheckeridIn(List<Integer> values) {
            addCriterion("admin_checkerid in", values, "adminCheckerid");
            return (Criteria) this;
        }

        public Criteria andAdminCheckeridNotIn(List<Integer> values) {
            addCriterion("admin_checkerid not in", values, "adminCheckerid");
            return (Criteria) this;
        }

        public Criteria andAdminCheckeridBetween(Integer value1, Integer value2) {
            addCriterion("admin_checkerid between", value1, value2, "adminCheckerid");
            return (Criteria) this;
        }

        public Criteria andAdminCheckeridNotBetween(Integer value1, Integer value2) {
            addCriterion("admin_checkerid not between", value1, value2, "adminCheckerid");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}